#!/usr/bin/env python
#
# This file is part of pipestat.
#
# pipestat is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# pipestat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with pipestat.  If not, see <http://www.gnu.org/licenses/>.
"""
Standard build script.
"""

__docformat__ = 'restructuredtext'


import os
import sys

from setuptools import setup, find_packages

sys.path.insert(0, 'src')

from pipestat import __version__, __author__, __license__


setup(
    name = "pipestat",
    version = __version__,
    description = "Watches data flowing over an anonymous pipe",
    long_description = """Simple python script to watch data flowing over
an anonymous pipe on shell consoles.""",
    author = __author__,
    author_email = 'richardmonk@gmail.com',
    url = "http://code.google.com/p/pipestat/",
    download_url = "http://code.google.com/p/pipestat/downloads/list",

    license = __license__,

    packages = find_packages('src'),

    package_dir = {'': 'src'},
    entry_points = {
        'console_scripts': [
            'pipestat = pipestat:main',
        ],
    },

    classifiers = [
        'License :: OSI Approved :: GNU General Public License (GPL)',
        'Development Status :: 5 - Production/Stable',
        'Environment :: Console',
        'Operating System :: POSIX',
        'Operating System :: Unix',
        'Topic :: System',
        'Intended Audience :: System Administrators',
        'Programming Language :: Python'],
)
